package com.ruoyi.project.dj.service.impl;

import com.ruoyi.project.dj.domain.DjStandardStandard;
import com.ruoyi.project.dj.mapper.DjStandardStandardMapper;
import com.ruoyi.project.dj.service.IDjStandardStandardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 支部标准化 - 标准化制度表
 */
@Service
public class DjStandardStandardServiceImpl implements IDjStandardStandardService {
    @Autowired
    private DjStandardStandardMapper djStandardStandardMapper;

    @Override
    public List<DjStandardStandard> selectDjStandardStandardList(DjStandardStandard djStandardStandard) {
        return djStandardStandardMapper.selectDjStandardStandardList(djStandardStandard);
    }

    @Override
    public DjStandardStandard selectDjStandardStandardById(Integer id) {
        return djStandardStandardMapper.selectDjStandardStandardById(id);
    }

    @Override
    public int insertDjStandardStandard(DjStandardStandard djStandardStandard) {
        return djStandardStandardMapper.insertDjStandardStandard(djStandardStandard);
    }

    @Override
    public int updateDjStandardStandard(DjStandardStandard djStandardStandard) {
        return djStandardStandardMapper.updateDjStandardStandard(djStandardStandard);
    }

    @Override
    public int deleteDjStandardStandardById(Integer id) {
        return djStandardStandardMapper.deleteDjStandardStandardById(id);
    }
}